package models

import "gorm.io/gorm"

type Medium struct {
	gorm.Model
	Title      string `gorm:"type:varchar(50);not null;comment:标题"`
	Picture    string `gorm:"type:varchar(255);not null;comment:图片"`
	Video      string `gorm:"type:varchar(255);not null;comment:视频"`
	CreateName string `gorm:"type:varchar(30);not null;comment:发布人"`
}
